package com.ksm.zyz.controller;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ksm.zyz.sys.serverservice.TongbuService;

/**
 * 页面引导
 *
 * @author litao
 */
@Controller
public class IndexController {

    private static Logger logger = LoggerFactory.getLogger(IndexController.class);

    
    @RequestMapping(value = "index")
    public String index() {
        logger.info("进入登录页面了。。。");
        return "/sys/login";
    }
 
    @RequestMapping("sys")
    public String sys() {
        logger.info("进入系统了。。。");
        return "/sys/sys";
    }

    @RequestMapping("main")
    public String main() {
        logger.info("进入系统了。。。");
        return "/sys/main";
    }

    @RequestMapping("sysUser")
    public String sysUser() {
        logger.info("进入用户管理页面了。。。");
        return "sys/user";
    }

    @RequestMapping("sysDict")
    public String sysDict() {
        logger.info("进入用户字典页面了。。。");
        return "sys/dict";
    }

    @RequestMapping("sysDept")
    public String sysDept() {
        logger.info("进入单位管理页面了。。。");
        return "sys/dept";
    }

    @RequestMapping("sysNotice")
    public String sysNotice() {
        logger.info("进入通知管理页面了。。。");
        return "sys/notice";
    }

    @RequestMapping("sysFile")
    public String sysFile() {
        logger.info("进入文件管理页面了。。。");
        return "sys/file";
    }

    @RequestMapping("sysRole")
    public String sysRole() {
        logger.info("进入角色管理页面了。。。");
        return "sys/role";
    }

    @RequestMapping("sysPermission")
    public String sysPermission() {
        logger.info("进入资源管理页面了。。。");
        return "sys/permission";
    }
    
    @RequestMapping("appZhiliaoCity")
    public String appZhiliaoCity() {
        logger.info("进入城市页面了。。。");
        return "sys/zhiliaoCity";
    }
    
    @RequestMapping("welcome")
    public String welcome() {
        return "welcome";
    }

    @RequestMapping("error404")
    public String error404() {
        return "404";
    }

    @RequestMapping("error500")
    public String error500() {
        return "500";
    }
   

}

